package com.kingyea.app.market.area.bean;

import java.io.Serializable;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description Area 实体类
 * 区域表
 * @date Created in 2018-03-25 21:47:15
 */
public class Area implements Serializable {

    /**
     * 区域ID
     */
    private Long code;
    /**
     * 区域名称
     */
    private String name;
    /**
     * 父级区域ID
     */
    private Long pcode;

    public Area(Long code, String name, Long pcode) {
        this.code = code;
        this.name = name;
        this.pcode = pcode;
    }

    public Area() {

    }

    public Long getCode() {
        return this.code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPcode() {
        return this.pcode;
    }

    public void setPcode(Long pcode) {
        this.pcode = pcode;
    }
}
